package com.yunyi.dm.decorator;

/**
 * 炒饭
 * 具体构建角色
 *
 * @author yunyi
 */
public class FriedRice extends FastFood {
    public FriedRice() {
        super(10, "炒饭");
    }


    @Override
    float cost() {
        return getPrice();
    }
}
